package com.future.direction.ui.activity;

import android.content.Intent;
import android.view.View;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.future.direction.R;
import com.future.direction.di.component.AppComponent;
import com.future.direction.ui.widget.MyTitleBar;

import butterknife.BindView;

/**
 * Created by zhp on 2019-11-08
 */
public class PersonInfoActivity extends BaseActivity implements View.OnClickListener {
    @BindView(R.id.titleBar)
    MyTitleBar titleBar;
    @BindView(R.id.ll_info)
    RelativeLayout llInfo;
    @BindView(R.id.tv_nickname)
    TextView tvNickname;
    @BindView(R.id.rl_nickname)
    RelativeLayout rlNickname;
    @BindView(R.id.tv_school)
    TextView tvSchool;
    @BindView(R.id.rl_school)
    RelativeLayout rlSchool;
    @BindView(R.id.tv_certification)
    TextView tvCertification;
    @BindView(R.id.rl_certification)
    RelativeLayout rlCertification;

    @Override
    public int setLayout() {
        return R.layout.activity_person_info;
    }

    @Override
    public void getExtras() {

    }

    @Override
    public boolean init() {
        return false;
    }

    @Override
    public void setListener() {
        backListener(titleBar);
        rlCertification.setOnClickListener(this);
    }

    @Override
    public void setupAcitivtyComponent(AppComponent appComponent) {

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.rl_certification:
                Intent intent = new Intent(PersonInfoActivity.this, CertificationFristActivity.class);
                startActivity(intent);
                break;
        }
    }


}